package com.glodon.ggzy.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfHandleuser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_HANDLEUSER")
public class GgZfHandleuser implements java.io.Serializable {

	// Fields    

	private String id;

	private String username;

	private String password;

	private String orgadmin;

	private String idcard;

	private String orgid;

	private String usersystype;

	private Timestamp regtime;

	private String ownorgtype;

	private String usertype;

	private String sex;

	private String email;

	private String phone;

	private String mobile;

	private String address;

	private String mailnumber;

	private String issuperman;

	private String question;

	private String answer;

	private String accstatu;

	private String rsvstring1;

	private String rsvstring2;

	private String grantType;

	private String fax;

	// Constructors

	/** default constructor */
	public GgZfHandleuser() {
	}

	/** full constructor */
	public GgZfHandleuser(String username, String password, String orgadmin, String idcard, String orgid, String usersystype, Timestamp regtime,
			String ownorgtype, String usertype, String sex, String email, String phone, String mobile, String address, String mailnumber,
			String issuperman, String question, String answer, String accstatu, String rsvstring1, String rsvstring2, String grantType, String fax) {
		this.username = username;
		this.password = password;
		this.orgadmin = orgadmin;
		this.idcard = idcard;
		this.orgid = orgid;
		this.usersystype = usersystype;
		this.regtime = regtime;
		this.ownorgtype = ownorgtype;
		this.usertype = usertype;
		this.sex = sex;
		this.email = email;
		this.phone = phone;
		this.mobile = mobile;
		this.address = address;
		this.mailnumber = mailnumber;
		this.issuperman = issuperman;
		this.question = question;
		this.answer = answer;
		this.accstatu = accstatu;
		this.rsvstring1 = rsvstring1;
		this.rsvstring2 = rsvstring2;
		this.grantType = grantType;
		this.fax = fax;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "USERNAME", length = 64)
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "PASSWORD", length = 32)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "ORGADMIN", length = 64)
	public String getOrgadmin() {
		return this.orgadmin;
	}

	public void setOrgadmin(String orgadmin) {
		this.orgadmin = orgadmin;
	}

	@Column(name = "IDCARD", length = 64)
	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	@Column(name = "ORGID", length = 100)
	public String getOrgid() {
		return this.orgid;
	}

	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}

	@Column(name = "USERSYSTYPE", length = 16)
	public String getUsersystype() {
		return this.usersystype;
	}

	public void setUsersystype(String usersystype) {
		this.usersystype = usersystype;
	}

	@Column(name = "REGTIME", length = 7)
	public Timestamp getRegtime() {
		return this.regtime;
	}

	public void setRegtime(Timestamp regtime) {
		this.regtime = regtime;
	}

	@Column(name = "OWNORGTYPE", length = 64)
	public String getOwnorgtype() {
		return this.ownorgtype;
	}

	public void setOwnorgtype(String ownorgtype) {
		this.ownorgtype = ownorgtype;
	}

	@Column(name = "USERTYPE", length = 64)
	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	@Column(name = "SEX", length = 16)
	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	@Column(name = "EMAIL", length = 64)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "PHONE", length = 64)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "MOBILE", length = 64)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "ADDRESS", length = 256)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "MAILNUMBER", length = 32)
	public String getMailnumber() {
		return this.mailnumber;
	}

	public void setMailnumber(String mailnumber) {
		this.mailnumber = mailnumber;
	}

	@Column(name = "ISSUPERMAN", length = 16)
	public String getIssuperman() {
		return this.issuperman;
	}

	public void setIssuperman(String issuperman) {
		this.issuperman = issuperman;
	}

	@Column(name = "QUESTION", length = 64)
	public String getQuestion() {
		return this.question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	@Column(name = "ANSWER", length = 64)
	public String getAnswer() {
		return this.answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	@Column(name = "ACCSTATU", length = 64)
	public String getAccstatu() {
		return this.accstatu;
	}

	public void setAccstatu(String accstatu) {
		this.accstatu = accstatu;
	}

	@Column(name = "RSVSTRING1", length = 256)
	public String getRsvstring1() {
		return this.rsvstring1;
	}

	public void setRsvstring1(String rsvstring1) {
		this.rsvstring1 = rsvstring1;
	}

	@Column(name = "RSVSTRING2", length = 256)
	public String getRsvstring2() {
		return this.rsvstring2;
	}

	public void setRsvstring2(String rsvstring2) {
		this.rsvstring2 = rsvstring2;
	}

	@Column(name = "GRANT_TYPE", length = 10)
	public String getGrantType() {
		return this.grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	@Column(name = "FAX", length = 32)
	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

}
